import { ClientOptions, Transport } from '@nestjs/microservices';
import { join } from 'path';
import * as process from 'process';

export  const userGrpcClientOptions:ClientOptions={
  transport: Transport.GRPC,
  options: {
    package: 'cyber.user.v1',
    protoPath: join(process.cwd(), 'proto/user/user.proto'),
    url:'user-service:50052'
  },
}